UPDATE c1_dictionary_item SET END_DATE = NOW(), DATA_STATE_CODE = '0' WHERE INSTR(:dictionaryItemIds, DICTIONARY_ITEM_ID) > 0